﻿using MRSite.AutoMapper.Attributes;
using MRSite.Entity;
using ProtoBuf;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MRSite.EntityDto
{
    [AutoMapBoth(typeof(ShopAccountDetail))]
    [ProtoContract]
    public class ShopAccountDetailDto
    {
        [ProtoMember(1)]
        public int id { get; set; }

        [ProtoMember(2)]
        public int user_id { get; set; }

        [ProtoMember(3)]
        public String user_name { get; set; }

        [ProtoMember(4)]
        public String title { get; set; }

        [ProtoMember(5)]
        public int orderid { get; set; }

        [ProtoMember(6)]
        public String order_no { get; set; }

        [ProtoMember(7)]
        public int orderItemid { get; set; }

        [ProtoMember(8)]
        public decimal sell_price { get; set; }

        [ProtoMember(9)]
        public decimal commission { get; set; }

        [ProtoMember(10)]
        public decimal commission_pay { get; set; }

        [ProtoMember(11)]
        public decimal hongbao { get; set; }

        [ProtoMember(12)]
        public decimal hongbao_pay { get; set; }

        [ProtoMember(13)]
        public decimal kchongbao { get; set; }

        [ProtoMember(14)]
        public decimal fee { get; set; }

        [ProtoMember(15)]
        public int status { get; set; }

        [ProtoMember(16)]
        public String remark { get; set; }

        [ProtoMember(17)]
        public DateTime add_time { get; set; }

        [ProtoMember(18)]
        public DateTime? applytime { get; set; }

        [ProtoMember(19)]
        public DateTime? checktime { get; set; }

        [ProtoMember(20)]
        public DateTime? paytime { get; set; }

        [ProtoMember(21)]
        public DateTime? invalidtime { get; set; }

        [ProtoMember(22)]
        public int shopid { get; set; }

        [ProtoMember(23)]
        public int jiandian_userid { get; set; }
    }
}
